package com.hq.bootdemo.service;

import com.hq.bootdemo.entity.TypeEntity;

import java.util.List;

public interface TypeService {
    List<TypeEntity> selectAll(String condition);
    boolean insertOne(TypeEntity typeEntity);

    boolean delOne(Integer id);

    TypeEntity selectOne(Integer id);

    boolean update(TypeEntity type);
}
